

const routes = [
    {
        path: '',
        redirect: '/home'
    },
];

const rs = import.meta.globEager("./routes/*/index.js");

for(let x in rs) {
    routes.push(rs[x].default);
}


routes.push({
    path: "/:pathMatch(.*)*",
    component: () => import("@p/404/NotFound.vue")    
})




export default routes

